package
{
	import flash.display.MovieClip;
	import flash.events.MouseEvent;

	public class StatePopupSample extends StatePopup
	{
		protected var board:MovieClip;
		public function StatePopupSample(movie:MovieClip)
		{
			super();
			board = movie;	
			board.board.txtData.text = "ZZZZZZZ";
		}
		public override function Init():void
		{
			//FBGame.mainFBGame.addChild(board);
			//board.addEventListener(MouseEvent.CLICK,myClick);
		}
		public override function Release():void
		{
			FBGame.mainFBGame.removeChild(board);
		}
		function myClick(eventObject:MouseEvent) 
		{
			//FBGame.stateStack.Pop();
		}
		public override function Render(g:MyGraphics):void
		{
			super.Render(g);
			g.DrawMovieClip(0,0,board);
		}
	}
}